>>> a='字符串拼接1'
>>> b='字符串拼接2'
>>> print(a+b)
字符串拼接1字符串拼接2
>>> print(a,b)
字符串拼接1 字符串拼接2
>>> print("%s %s"%(a,b))
字符串拼接1 字符串拼接2
>>> print('format'.format(a,b))
format
>>> print('format-->{},{}'.format(a,b))
format-->字符串拼接1,字符串拼接2
>>> print('{},{}'.format(a,b))
字符串拼接1,字符串拼接2
>>> print(f'{a},{b}')
字符串拼接1,字符串拼接2
>>> print(f'{a}{b}')
字符串拼接1字符串拼接2
>>> c=f'{a}{b}'
>>> c
'字符串拼接1字符串拼接2'
>>> c[6]
'字'
>>> len(c)
12

 d='8*y*cali*china*it*soft*linux*python'
>>> d.split('*')
['8', 'y', 'cali', 'china', 'it', 'soft', 'linux', 'python']
>>> e=d.split('*')
''.join(e)
'8ycalichinaitsoftlinuxpython'
e='8ycalichinaitsoftlinuxpython'
>>> ('*******'+e)
'*******8ycalichinaitsoftlinuxpython'

